package com.han.shadow.customerapp.inter;


import com.han.shadow.customerapp.bean.Account;
import com.han.shadow.customerapp.bean.Business;
import com.han.shadow.customerapp.bean.Goods;
import com.han.shadow.customerapp.bean.Order;

import java.util.List;

public interface ICustomer {
	public int addToCart(String goodsID);//添加到购物车
	public int deleteFromCart(String goodsID);//从购物车删除商品
	public int queryCart();//查看购物车
	public List<Business> queryBusiness(String bID);//查看商家
	public List<Goods> queryGoods(String gID,String bID);//查看商品
	public int checkout(Order order);//结算
	public int cancelOrder(String orderID);//取消订单
	public List<Order> queryOrders(String bID);//查看订单信息
	public int deleteOrder(String orderID);//删除已完成订单
	public int signUp(Account acc);//注册
}
